﻿using System.Diagnostics.CodeAnalysis;

namespace PhoneNetTools.Ntp
{
    /// <summary>
    /// The mode that is used.
    /// </summary>
    public enum Mode
    {
        /// <summary>
        /// A reserved value that should not be used.
        /// </summary>
        [SuppressMessage("Microsoft.Naming", "CA1700:DoNotNameEnumValuesReserved", Justification = "This is not my decision, the API is as it stands.")]
        Reserved = 0, 

        /// <summary>
        /// Symmetric active mode.
        /// </summary>
        SymmetricActive, 

        /// <summary>
        /// Symmetric passive mode.
        /// </summary>
        SymmetricPassive, 

        /// <summary>
        /// Client mode.
        /// </summary>
        Client, 

        /// <summary>
        /// Server mode.
        /// </summary>
        Server, 

        /// <summary>
        /// Broadcast mode.
        /// </summary>
        Broadcast, 

        /// <summary>
        /// An NTP control message.
        /// </summary>
        ControlMessage, 

        /// <summary>
        /// A reserved value that should not be used.
        /// </summary>
        [SuppressMessage("Microsoft.Naming", "CA1700:DoNotNameEnumValuesReserved", Justification = "This is not my decision, the API is as it stands.")]
        ReservedForPrivateUse
    }
}